<form id="edits-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('选择编辑条件')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select  id="c-join_table" class="form-control" name="row[edit_where]">
                <option value="0">请选择条件</option>
                <option value="1">指定产品修改</option>
                <option value="2">指定代理商修改</option>
                <option value="3">指定批次修改</option>
            </select>
        </div>
    </div>
    <div class="form-group edit_product_id" style="display:none;">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input data-source="track/product/index" class="form-control selectpage" name="row[edit_product_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group edit_agent_id" style="display: none">
        <label class="control-label col-xs-12 col-sm-2">{:__('Agent_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input data-field="nickname" data-source="track/agent/index" class="form-control selectpage" name="row[edit_agent_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group edit_batch" style="display:none;">
        <label class="control-label col-xs-12 col-sm-2">{:__('Batch')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input  class="form-control" name="row[edit_batch]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <div class="col-xs-12 col-sm-12">
            <div style="height: 5px;background: #18bc9c"></div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_id" data-source="track/product/index" class="form-control selectpage" name="row[product_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Batch')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-batch" class="form-control" name="row[batch]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Agent_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-agent_id" data-field="nickname" data-source="track/agent/index" class="form-control selectpage" name="row[agent_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
